/*
 ***@author:edit by binggan
 ***@time:2017-9-7 10:47:36
*/
/***common css***/
body, html {width: 100%;height: 100%;-webkit-tap-highlight-color:rgba(0, 0, 0, 0);
    -moz-tap-highlight-color:rgba(0, 0, 0, 0);
    -ms-tap-highlight-color:rgba(0, 0, 0, 0);
    -o-tap-highlight-color:rgba(0, 0, 0, 0);
    tap-highlight-color:rgba(0, 0, 0, 0);
    -webkit-text-size-adjust: none;}
body{background:#f5f5f5;max-width: 750px;margin: 0 auto;font-size: .24rem;font-family: helvetica;max-width: 750px;min-height: 100%;overflow-x: hidden;counter-reset:section;position: relative}
button,textarea{box-sizing: border-box;-webkit-box-sizing:border-box;outline: none;font: inherit;}
.clearfix:after{display: block;content: '';clear: both;visibility: hidden;font-size: 0;height: 0;}
.thumbnail img{display:block;width: 100%;}
.section{margin-top: .2rem;background-color: #fff}
.section-nomal{background-color: #fff}
section.section{padding: .2rem}
.border-bot{border-bottom: 1px solid #e6e6e6;}
em.tips{color: #949494;font-size: .24rem}
.grey{color:#b2b2b2;}
.icon-badge{display: inline-block;padding: .06rem .06rem 0.03rem;background-color: #32b16c;border-radius: .06rem;overflow: hidden;margin-right: .12rem;}
.icon-badge.big{padding: .09rem;}
.icon-badge span{display: inline-block;background-size: 100% auto;background-repeat: no-repeat;background-position: center center;}
i.icon-right{display:inline-block;width: .12rem;height: .22rem;background: url("../images/icon-right.png") no-repeat top center;background-size: 100% auto;flex-shrink: 0}
i.icon-left{display:inline-block;width: .12rem;height: .22rem;background: url("../images/icon-right.png") no-repeat top center;background-size: 100% auto;flex-shrink: 0;transform: rotate(180deg)}
.tCenter{text-align: center}
.to-back{width: .6rem;height: .6rem;}
.big-btn{display:block;width: 2.35rem;height:100%;line-height:1.11rem;background-color: #187ffe;color:#fff;font-size: .32rem;text-align: center;border:none;}

/****page course***/
.banner{position: relative;overflow: hidden;}
i.icon-back{display: block;position: absolute;width: .56rem;height:.56rem;top:.24rem;left: .24rem;background:url("../images/icon-left.png") no-repeat center;background-size:auto 60%;border-radius: 50%;}
.icon-back.white-back{background:rgba(255, 255, 255, 0.6) url("../images/icon-left.png") no-repeat center;background-size:auto 60%;}
.banner .icon-share{display: block;position: absolute;width: .36rem;height:.36rem;top:.24rem;right: .24rem;background: url("../images/icon-share.png") no-repeat center;background-size: 100% auto}
.content-box{
    padding-bottom: 1.3rem;
}
#model-course-top{background-color:#fff;padding: .24rem;}
#model-course-top p.tips{color: #949494;margin: .1rem 0}
.icon-collect{display:block;width: .4rem;height: .39rem;background: url("../images/icon-collect.png") no-repeat center;background-size: 100% auto;transition: .3s ease}
.icon-collect.icon-active{background-image: url("../images/icon-collectA.png")}
#model-course-top .course-name{display: flex;display: -webkit-flex;align-items: center;}
#model-course-top .course-name h2{flex: 1;color: #333333;font-size: .32rem;font-weight: normal;padding-right: 0.4rem}
.tab{height: .71rem;}
.tab-box{width: 100%;max-width: 750px;height: .71rem;background-color: #fff;transition: .3s ease}
.tab-box-fixed{position: fixed;top:0;box-shadow: 0 2px 2px rgba(163, 163, 163, 0.41);z-index: 2}
.tab-tit{font-size: .28rem}
.tab-tit li{position: relative;line-height: .71rem;width: 50%;float: left;text-align: center;}
.tab-tit li:after{display: block;content:'';height: .04rem;width:0;opacity:0;background-color: #187ffe;position: absolute;left: 50%;bottom: 0;transition: all .3s ease}
.tab-tit li.active{color:#187ffe}
.tab-tit li.active:after{width:24%;opacity:1;margin-left: -12%;}
.course-top-box .price{color: #ff4549;font-size: .36rem}
.to-page-share{background-color: #dff1e7;padding: .22rem .2rem;display: flex;display: -webkit-flex;align-items: center;color:#32b16c;font-size: .28rem}

.intro-tit{color: #333333;font-size: .28rem;padding: .2rem;position: relative;text-indent: .12rem}
.intro-tit:before{position: absolute;content: '';width: .04rem;height: 50%;background-color: #187ffe;top:50%;transform: translateY(-50%);left: .2rem}
.intro-teacher{padding:.2rem;}
.teacher-info-top{display: flex;display: -webkit-flex;align-items: center;}
.teacher-info-top .avatar{width: 1.65rem;height: 1.65rem;border-radius: 50%;background-repeat: no-repeat;background-size: cover;flex-shrink: 0;margin-right: .25rem}
.teachers-top-info h3{font-size: .3rem;color: #333333;font-weight: normal;margin-bottom: .25rem}
.teachers-top-info em:not(:first-of-type):before{content:'|';display: inline-block;margin: 0 .12rem}
.teachers-infos{font-size: .24rem;line-height: .4rem;}
.course-intro{padding-bottom: 1rem;padding:0 .24rem .24rem;line-height: .4rem;}

.course-intro img{max-width: 100%;text-align: center}
.to-buy{background-color: #fff;position: fixed;display: flex;align-items: center;justify-content: space-between;bottom: 0;width: 100%;max-width: 750px;height: 1.11rem;box-shadow: -2px 0 5px 0px rgba(134, 134, 134, 0.3);}
.to-buy .price{color: #ff4549;font-size: .36rem;padding-left: .24rem;flex: 1}
.to-buy #buy-btn{display:block;width: 2.35rem;height:100%;line-height:1.11rem;background-color: #187ffe;color:#fff;font-size: .32rem;text-align: center;border:none;}
.to-buy #login-btn{display:block;width: 2.35rem;height:100%;line-height:1.11rem;background-color: #187ffe;color:#fff;font-size: .32rem;text-align: center;border:none;}

.tab-con{display:none;}
.tab-con.active{display:block;}
.tab-menu-box{background-color: #fff;}
.tab-menu-box .tCenter.tips{font-size: .28rem;color: #9e9e9e;padding:.2rem 0 .25rem;border-bottom: 1px solid #e6e6e6}
ol.course-menu-lists{counter-reset:sectioncounter;padding:0 .2rem .2rem;border-bottom: 1px solid #e6e6e6}
.course-menu-lists li{padding: .2rem .15rem .2rem 0;font-size: .28rem;color: #333333;display: flex;display: -webkit-flex;align-items: center;justify-content: space-between;}
.course-menu-lists li:active{background-color: #f5f5f5}
.course-menu-lists li:not(:last-of-type){border-bottom: 1px solid #e6e6e6}
.course-menu-lists li p{padding-right: .1rem;padding-left: .4rem;position: relative}
.course-menu-lists li p:before{display: block;height: 100%;content:counter(sectioncounter);counter-increment:sectioncounter;padding-right: .15rem;position: absolute;top:.05rem;left:0;text-align: right}
.overlay{position: fixed;width: 100%;height: 100%;background-color: #000;opacity: .6;top:0;left: 0;display: none;}
.login-box,.agreement{width: 80%;max-height: 80%;display: flex;display: -webkit-flex;flex-direction: column;border-radius: .1rem;position: fixed;left: 50%; top: 50%; -webkit-transform: translate(-50%, -50%) scale(0); transform: translate(-50%, -50%) scale(0);overflow: hidden;opacity: 0;background-color: #fff;}
/*.login-box.active{height: auto;opacity: 1}*/
.login-box .login-tip-title,.agreement .agreement-tip-title{background-color: #187ffe;font-size: .32rem;color: #fff;padding: .25rem;text-align: center;flex-shrink: 0}
.login-box input,.login-box button{border: none;}
.login-input{padding: .46rem;background-color: #F5F5F5}
.login-input .input-group{position: relative;margin-bottom: .3rem;}
.login-input .input-group input{width: 100%;height: .76rem;border:1px solid #c2c2c2;padding-left: 1.52rem;font-size: .28rem;}
.login-input .input-group label{position: absolute;top:50%;transform: translateY(-50%);left: .13rem;font-size: .28rem;}
.login-input .input-group #capcha-btn{position: absolute;top:50%;transform: translateY(-50%) scale(.8,.8);right: .1rem;padding: .1rem .14rem;border-radius: .2rem;background-color: #187ffe;color: #fff;}
.login-input .tips{color: #b2b2b2;line-height: .36rem;font-size: .2rem}
.login-input .tips .open-agreement{color: #187ffe}
.login-button-box{display: flex;flex-shrink: 0;align-items: center;text-align: center}
.login-button-box button{font-size: .32rem;flex-basis: 50%;padding: .26rem 0;border:none}
.yes-btn{color: #fff;background-color: #187ffe;border:none;}
.no-btn{color: #555555;background-color: #d9d9d9;border:none;}
.agreement .agreement-content{flex:1;padding: .24rem;overflow-y: scroll;color: #333333;line-height: .4rem;background-color: #fff;text-align: justify;}
.agreement .agreement-content p{text-indent: 2em;margin: .14rem;}
.btn-disabled{background-color: #949494 !important;}
.navbar-center .navbar-title{font-size: .3rem;}
/*page index*/
.course-bar{
    display:flex;display: -webkit-flex;align-items: center;padding: .24rem;line-height: .51rem;background-color: #fff;
}
.course-bar .search-box{flex:1;margin-right: .2rem;}
.search-box{position: relative;}
.search-box input{border:none;background-color: #e4e5e7;height: .6rem;width: 100%;padding: 0 .2rem 0 .45rem;border-radius: .05rem;}
.search-box .icon-search{position: absolute;width: .25rem;height: .25rem;left: .1rem;top:50%;margin-top: -.125rem;background: url("../images/icon-search.png") no-repeat;background-size: auto 100%;}
#course-search-btn{background-color: #187ffe;color: #fff;height: .6rem;padding: 0 .2rem;border:none;border-radius: .05rem;}
.conditions{background-color: #fff;margin-top: .03rem;position: relative}
.conditions-ul{overflow: hidden;}
.conditions-ul li{width: 33.3%;float: left;text-align: center;position: relative;height: .8rem;line-height: .8rem;display: flex;display: -webkit-flex;align-items: center;justify-content: center;padding: 0 .24rem;}
.conditions-ul li .tree-name{overflow: hidden;white-space: nowrap;text-overflow: ellipsis;margin-right: .2rem;}
.all-condition .conditions-list{display: none;position: absolute;width: 100%;background-color: #fff;top:.8rem;left: 0;padding: .24rem .24rem .24rem .43rem;border-top: 1px solid #F5F5F5;border-bottom: 1px solid #F5F5F5;box-shadow: 0 4px 14px -2px rgba(0,36,100,.3);}
.all-condition .conditions-list li{padding-bottom:.24rem;overflow: hidden;text-overflow: ellipsis;white-space: nowrap;}
.all-condition .conditions-list li.active{color: #187ffe;}
.triangle-bot{width:0;height:0;border-width:.1rem .1rem 0;border-style:solid;border-color:#383838 transparent transparent;transition: .3s ease}
.conditions-ul li.active .triangle-bot{transform: rotate(180deg)}
.course-list li a{display: flex;display: -webkit-flex;padding: .24rem;align-items: center;border-bottom: 1px solid #f5f5f5}
.course-list .thumbnail{width: 2.51rem;margin-right: .24rem;flex-shrink: 0;}
.course-list .course-txt{overflow: hidden;display: flex;display: -webkit-flex;flex-direction: column;align-self: stretch;justify-content: space-between;}
.course-list .course-txt p.course-name{font-size: .32rem;color: #333333;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;}
.course-list .course-txt .description{display:block;color: #b2b2b2;margin: .12rem 0;flex: 1;}
.course-list .course-txt .tips{color: #b2b2b2;}
.course-list .course-txt .tips span{padding-left: .25rem;}
.to-personal{width: .9rem;height: .9rem;background-color: rgba(24, 127, 254, 0.89);border-radius: 50%;text-align: center;font-size: 0;position: fixed;right: .3rem;bottom: .3rem;}
.to-personal .to-person-btn{position: absolute;width: 100%;height: 100%;top:0;left: 0;z-index: 2;}
.to-personal i.icon-personal{display: inline-block;width: .44rem;height: .5rem;background: url("../images/icon-personal.png") no-repeat center;background-size: auto 100%;position: relative;top:50%;margin-top: -.25rem;}

/******page order******/
.order-box{display: flex; display: -webkit-flex; padding: .24rem; align-items: center; border-bottom: 1px solid #e6e6e6;background-color: #fff;}
.order-box p.price{font-size: .28rem;color: #333333;}
.order-price-box,.order-time-box{color: #333333;font-size: .28rem;line-height: .4rem;}
.order-price-box{text-align: right;}
.order-price-box span.price{color: #ff4549}
.order-pay-type{margin-top: .8rem;}
.order-pay-type p.pay-type-tit{font-size: .32rem;color:#424242;padding-left: .24rem;}
.order-pay-type .pay-type-info{display: flex;display: -webkit-flex;font-size: .28rem;align-items: center;}
.order-pay-type .pay-type-info span{flex: 1;margin-left: .24rem}
.order-pay-type .icon-weixpay{width: .5rem;height: .5rem;background-image: url("../images/weixpay.png");background-size: 100% auto;}
.order-pay-type .icon-yes{width: .36rem;height: .36rem;background-image: url("../images/icon-yes.png");background-size: 100% auto;}

/******page person*****/
.person-top{/* min-height:3rem; */background: linear-gradient(#187ffe , #1ebeff);background: -webkit-linear-gradient(#187ffe , #1ebeff);background: -o-linear-gradient(#187ffe , #1ebeff);background: -moz-linear-gradient(#187ffe , #1ebeff);padding: .8rem 0 .5rem;}
.person-top .icon-back{background-image: url("../images/icon-lefta.png");background-size: auto 100%;}
.person-top .icon-setting{display:block;width: .4rem;height: .4rem;position: absolute;top: .24rem;right: .24rem;background-image: url("../images/icon-setting.png");background-size: 100%    100%;}
.person-top .icon-setting a{position: absolute;width: 100%;height: 100%;left: 0;top:0;}
.userinfo{position: relative;margin: 0 auto;display: flex;display: -webkit-flex;flex-direction: column;align-items: center;color: #fff;font-size: .28rem;line-height: .4rem;}
.userinfo .avatar-box{width: 1.2rem;height: 1.2rem;background-color: rgba(255, 255, 255, 0.6);padding: .1rem;overflow: hidden;border-radius: 50%;margin-bottom: .14rem;}
.userinfo .avatar-box .avatar{width: 100%;height:100%;background-size: cover;border-radius: 50%;}
.my-order{margin-top: .2rem;}
.order-list li{width: 100%;overflow: hidden;position: relative;transition:transform .3s ease;margin-bottom: .12rem;background: #fff;}
.order-list li .list-content{display: flex;display: -webkit-flex;padding:.24rem .24rem .24rem 0;overflow: hidden;border-bottom: 1px solid #e6e6e6;}
.order-list .thumbnail{width: 2.51rem;margin-left: .24rem;margin-right: .24rem;flex-shrink: 0;}
.order-list .course-txt{overflow: hidden;display: flex;display: -webkit-flex;flex-direction: column;align-self: stretch;justify-content: space-between;flex: 1;}
.order-list .course-txt .course-name{display: flex;display:-webkit-flex;align-items: center;justify-content: space-around;font-size: .28rem;}
.order-list .course-txt .course-name p.name{flex: 1;color: #333333;text-overflow: ellipsis;white-space: nowrap;overflow: hidden;margin-right: .2rem;}
.order-list .wait-pay{color: #fe1843}
.order-list .payed{color: #187ffe}
.order-list .course-txt .tips{color: #b2b2b2;display: flex;display: -webkit-flex;justify-content: space-around;}
.order-list .course-txt .tips .time{text-align: right;flex: 1;}
.order-list li .operate{position:absolute;width:1.5rem;height: 100%;right:0;padding: 0 .42rem;background-color: #fe1843;color:#fff;font-size: .32rem;color:#fff;display: flex;display: -webkit-flex;align-items: center;}
.operate-box{padding: .2rem .24rem;display: flex;display: -webkit-flex;justify-content: flex-end}
.operate-box button,.operate-box a{border:1px solid #b3b3b3;padding: .14rem .2rem;border-radius: .1rem;}
.operate-box .cancel-order-btn{margin-right: .24rem;color: #b2b2b2;}
.operate-box .pay-order-btn{background-color: #187ffe;border-color: #187ffe;color:#fff;}
.operate-box .delete-order-btn{background-color: #fb4c6d;border-color: #fb4c6d;color:#fff;}
/*------list of collect------*/
.collect-list li{position: relative}
.collect-list li .course-txt{padding-right: .24rem;}
.collect-list li .icon-collect{position: absolute;right: .2rem;top:50%;transform: translateY(-50%);}

/*********page wait-pay******/
.order-status-tip{background-color: #ef505f;padding: .3rem;display: flex;display: -webkit-flex;align-items: center;}
.order-status-tip .icon-waitpay{width: .6rem;height: .6rem;background: url("../images/icon-waitpay.png") no-repeat center;background-size: auto 100%;}
.order-status-tip .txt{flex: 1;margin-left: .2rem;color:#fff;}
.order-status-tip .txt h2{font-size: .32rem;margin-bottom: .12rem;}
.page-detail-footer{position: fixed;width: 100%;bottom: 0;left: 0;background-color: #fff;}
.order-status-tip.payed{background-color: #187ffe;padding: .3rem;display: flex;display: -webkit-flex;align-items: center;}
.order-status-tip .icon-payed{width: .6rem;height: .6rem;background: url("../images/icon-payed.png") no-repeat center;background-size: auto 100%;}

/***********page setting*****/
.setting-form .input-group{padding: 0 .24rem;display: flex;display: -webkit-flex;align-items: center;justify-content: space-around;border-bottom: 1px solid #e5e5e5;font-size: .28rem;height: .85rem;line-height: .85rem;}
.setting-form .input-group.more{background: url("../images/icon-righta.png") no-repeat 98% center;background-size: auto 40%;}
.setting-form .input-group input{flex:1;text-align: right;border:none;height: 100%;padding-left: .24rem;}
.setting-form .input-group.more input{padding-right: .4rem;}
.myoption li{padding: .24rem;background-color: #fff;border-bottom: 1px solid #f5f5f5;}
.myoption li.active{color: #187ffe;}
.date-selector-btn-box{height: 1rem;line-height: 1rem;}
.date-selector-btn{background-color: #187ffe;line-height: .6rem;padding: 0 .3rem;}
#submit-btn{display:block;width: 80%;background-color: #187ffe;padding: .25rem 0;text-align: center;margin: 1rem auto .5rem auto;border:none;font-size: .36rem;color: #fff;border-radius: .1rem;}

@-webkit-keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) scale(.4,.4);
        transform: translate(-50%, -50%) scale(.4,.4)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(-50%, -50%) scale(1,1);
        transform: translate(-50%, -50%) scale(1,1)
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        -webkit-transform: translate(-50%, -50%) scale(.4,.4);
        -ms-transform: translate(-50%, -50%) scale(.4,.4);
        transform: translate(-50%, -50%) scale(.4,.4)
    }
    100% {
        opacity: 1;
        -webkit-transform: translate(-50%, -50%) scale(1,1);
        -ms-transform: translate(-50%, -50%) scale(1,1);
        transform: translate(-50%, -50%) scale(1,1)
    }
}

.bounceIn {
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
    -webkit-animation-duration: .5s;
    animation-duration: .5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both
}

/* 2018-8-7 15:22:40 plus by binggan */
.ripple {
    position: relative;
    overflow: hidden;
    -webkit-tap-highlight-color:transparent;
}
.ripple:after {
    content: "";
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    pointer-events: none;
    background-image: radial-gradient(circle, #666 10%, transparent 10.01%);
    background-repeat: no-repeat;
    background-position: 50%;
    transform: scale(10, 10);
    opacity: 0;
    transition: transform .3s, opacity .5s;
}

.ripple:active:after {
    transform: scale(0, 0);
    opacity: .3;
    transition: 0s;
}

.video-box{display: none}
.video-box,.video-box .video-bg,.video-box video{position: absolute;width: 100%;height: 100%;top:0;left: 0;background-size: cover;overflow: hidden;}
.video-box .video-bg{filter: blur(5px);}
.video-box video{height: auto;top:50%;transform: translateY(-50%)}
/* .all-condition .conditions-list{width: 33.3%;}
#condition1{left: 0;}
#condition2{left: 33.3%;}
#condition3{left: 66.6%;} */

#playvideo-btn span{display: inline-block;width: 100%;height: 100%;}
.banner.thumbnail img{height: 100%;}


/********2018-9-6 17:35:33 add page of index********/
.categories{display: flex;display: -webkit-flex;justify-content: center;background-color: #fff;padding: .34rem .2rem;}
.categories li{flex: 1;text-align: center;}
.categories li span{font-size: .26rem;color: #333333;}
.categories i.icon{display: block;margin: 0 auto .2rem;width: 1rem;height: 1rem;background-repeat: no-repeat;background-size: cover;}
.categories i.icon.icon1{background-image: url(../images/nav01.png);}
.categories i.icon.icon2{background-image: url(../images/nav02.png);}
.categories i.icon.icon3{background-image: url(../images/nav03.png);}
.categories i.icon.icon4{background-image: url(../images/nav04.png);}
.default-title{display: flex;display: -webkit-flex;align-items: center;justify-content: center;padding: .2rem;background-color: #fff;margin-top: .2rem;}
.default-title p{flex:1;font-size: .3rem;color: #333333;border-left: .06rem solid #508fff;padding-left: .16rem;}
.default-title a.more{color: #508fff;font-size:.26rem;text-transform: uppercase;display: flex;display: -webkit-flex;align-items: center;}
.default-title a.more .arrow{height: .32rem;width: auto;margin-left: .1rem;}
.index-recommend{background-color: #fff;border-top: 1px solid #f5f5f5;}